package com.ytjj.qmyx.admin.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SelectExamProposalExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SelectExamProposalExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdIsNull() {
            addCriterion("select_exam_id is null");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdIsNotNull() {
            addCriterion("select_exam_id is not null");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdEqualTo(Integer value) {
            addCriterion("select_exam_id =", value, "selectExamId");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdNotEqualTo(Integer value) {
            addCriterion("select_exam_id <>", value, "selectExamId");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdGreaterThan(Integer value) {
            addCriterion("select_exam_id >", value, "selectExamId");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("select_exam_id >=", value, "selectExamId");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdLessThan(Integer value) {
            addCriterion("select_exam_id <", value, "selectExamId");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdLessThanOrEqualTo(Integer value) {
            addCriterion("select_exam_id <=", value, "selectExamId");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdIn(List<Integer> values) {
            addCriterion("select_exam_id in", values, "selectExamId");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdNotIn(List<Integer> values) {
            addCriterion("select_exam_id not in", values, "selectExamId");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdBetween(Integer value1, Integer value2) {
            addCriterion("select_exam_id between", value1, value2, "selectExamId");
            return (Criteria) this;
        }

        public Criteria andSelectExamIdNotBetween(Integer value1, Integer value2) {
            addCriterion("select_exam_id not between", value1, value2, "selectExamId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeIsNull() {
            addCriterion("attract_investment_propose is null");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeIsNotNull() {
            addCriterion("attract_investment_propose is not null");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeEqualTo(String value) {
            addCriterion("attract_investment_propose =", value, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeNotEqualTo(String value) {
            addCriterion("attract_investment_propose <>", value, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeGreaterThan(String value) {
            addCriterion("attract_investment_propose >", value, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeGreaterThanOrEqualTo(String value) {
            addCriterion("attract_investment_propose >=", value, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeLessThan(String value) {
            addCriterion("attract_investment_propose <", value, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeLessThanOrEqualTo(String value) {
            addCriterion("attract_investment_propose <=", value, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeLike(String value) {
            addCriterion("attract_investment_propose like", value, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeNotLike(String value) {
            addCriterion("attract_investment_propose not like", value, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeIn(List<String> values) {
            addCriterion("attract_investment_propose in", values, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeNotIn(List<String> values) {
            addCriterion("attract_investment_propose not in", values, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeBetween(String value1, String value2) {
            addCriterion("attract_investment_propose between", value1, value2, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andAttractInvestmentProposeNotBetween(String value1, String value2) {
            addCriterion("attract_investment_propose not between", value1, value2, "attractInvestmentPropose");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoIsNull() {
            addCriterion("sample_express_no is null");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoIsNotNull() {
            addCriterion("sample_express_no is not null");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoEqualTo(String value) {
            addCriterion("sample_express_no =", value, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoNotEqualTo(String value) {
            addCriterion("sample_express_no <>", value, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoGreaterThan(String value) {
            addCriterion("sample_express_no >", value, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoGreaterThanOrEqualTo(String value) {
            addCriterion("sample_express_no >=", value, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoLessThan(String value) {
            addCriterion("sample_express_no <", value, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoLessThanOrEqualTo(String value) {
            addCriterion("sample_express_no <=", value, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoLike(String value) {
            addCriterion("sample_express_no like", value, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoNotLike(String value) {
            addCriterion("sample_express_no not like", value, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoIn(List<String> values) {
            addCriterion("sample_express_no in", values, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoNotIn(List<String> values) {
            addCriterion("sample_express_no not in", values, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoBetween(String value1, String value2) {
            addCriterion("sample_express_no between", value1, value2, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andSampleExpressNoNotBetween(String value1, String value2) {
            addCriterion("sample_express_no not between", value1, value2, "sampleExpressNo");
            return (Criteria) this;
        }

        public Criteria andOperateProposeIsNull() {
            addCriterion("operate_propose is null");
            return (Criteria) this;
        }

        public Criteria andOperateProposeIsNotNull() {
            addCriterion("operate_propose is not null");
            return (Criteria) this;
        }

        public Criteria andOperateProposeEqualTo(String value) {
            addCriterion("operate_propose =", value, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeNotEqualTo(String value) {
            addCriterion("operate_propose <>", value, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeGreaterThan(String value) {
            addCriterion("operate_propose >", value, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeGreaterThanOrEqualTo(String value) {
            addCriterion("operate_propose >=", value, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeLessThan(String value) {
            addCriterion("operate_propose <", value, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeLessThanOrEqualTo(String value) {
            addCriterion("operate_propose <=", value, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeLike(String value) {
            addCriterion("operate_propose like", value, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeNotLike(String value) {
            addCriterion("operate_propose not like", value, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeIn(List<String> values) {
            addCriterion("operate_propose in", values, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeNotIn(List<String> values) {
            addCriterion("operate_propose not in", values, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeBetween(String value1, String value2) {
            addCriterion("operate_propose between", value1, value2, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andOperateProposeNotBetween(String value1, String value2) {
            addCriterion("operate_propose not between", value1, value2, "operatePropose");
            return (Criteria) this;
        }

        public Criteria andContentStatusIsNull() {
            addCriterion("content_status is null");
            return (Criteria) this;
        }

        public Criteria andContentStatusIsNotNull() {
            addCriterion("content_status is not null");
            return (Criteria) this;
        }

        public Criteria andContentStatusEqualTo(Integer value) {
            addCriterion("content_status =", value, "contentStatus");
            return (Criteria) this;
        }

        public Criteria andContentStatusNotEqualTo(Integer value) {
            addCriterion("content_status <>", value, "contentStatus");
            return (Criteria) this;
        }

        public Criteria andContentStatusGreaterThan(Integer value) {
            addCriterion("content_status >", value, "contentStatus");
            return (Criteria) this;
        }

        public Criteria andContentStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("content_status >=", value, "contentStatus");
            return (Criteria) this;
        }

        public Criteria andContentStatusLessThan(Integer value) {
            addCriterion("content_status <", value, "contentStatus");
            return (Criteria) this;
        }

        public Criteria andContentStatusLessThanOrEqualTo(Integer value) {
            addCriterion("content_status <=", value, "contentStatus");
            return (Criteria) this;
        }

        public Criteria andContentStatusIn(List<Integer> values) {
            addCriterion("content_status in", values, "contentStatus");
            return (Criteria) this;
        }

        public Criteria andContentStatusNotIn(List<Integer> values) {
            addCriterion("content_status not in", values, "contentStatus");
            return (Criteria) this;
        }

        public Criteria andContentStatusBetween(Integer value1, Integer value2) {
            addCriterion("content_status between", value1, value2, "contentStatus");
            return (Criteria) this;
        }

        public Criteria andContentStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("content_status not between", value1, value2, "contentStatus");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeIsNull() {
            addCriterion("market_launch_propose is null");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeIsNotNull() {
            addCriterion("market_launch_propose is not null");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeEqualTo(String value) {
            addCriterion("market_launch_propose =", value, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeNotEqualTo(String value) {
            addCriterion("market_launch_propose <>", value, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeGreaterThan(String value) {
            addCriterion("market_launch_propose >", value, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeGreaterThanOrEqualTo(String value) {
            addCriterion("market_launch_propose >=", value, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeLessThan(String value) {
            addCriterion("market_launch_propose <", value, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeLessThanOrEqualTo(String value) {
            addCriterion("market_launch_propose <=", value, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeLike(String value) {
            addCriterion("market_launch_propose like", value, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeNotLike(String value) {
            addCriterion("market_launch_propose not like", value, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeIn(List<String> values) {
            addCriterion("market_launch_propose in", values, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeNotIn(List<String> values) {
            addCriterion("market_launch_propose not in", values, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeBetween(String value1, String value2) {
            addCriterion("market_launch_propose between", value1, value2, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andMarketLaunchProposeNotBetween(String value1, String value2) {
            addCriterion("market_launch_propose not between", value1, value2, "marketLaunchPropose");
            return (Criteria) this;
        }

        public Criteria andPlateIsNull() {
            addCriterion("plate is null");
            return (Criteria) this;
        }

        public Criteria andPlateIsNotNull() {
            addCriterion("plate is not null");
            return (Criteria) this;
        }

        public Criteria andPlateEqualTo(String value) {
            addCriterion("plate =", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotEqualTo(String value) {
            addCriterion("plate <>", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateGreaterThan(String value) {
            addCriterion("plate >", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateGreaterThanOrEqualTo(String value) {
            addCriterion("plate >=", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateLessThan(String value) {
            addCriterion("plate <", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateLessThanOrEqualTo(String value) {
            addCriterion("plate <=", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateLike(String value) {
            addCriterion("plate like", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotLike(String value) {
            addCriterion("plate not like", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateIn(List<String> values) {
            addCriterion("plate in", values, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotIn(List<String> values) {
            addCriterion("plate not in", values, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateBetween(String value1, String value2) {
            addCriterion("plate between", value1, value2, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotBetween(String value1, String value2) {
            addCriterion("plate not between", value1, value2, "plate");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andLastUserIdIsNull() {
            addCriterion("last_user_id is null");
            return (Criteria) this;
        }

        public Criteria andLastUserIdIsNotNull() {
            addCriterion("last_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andLastUserIdEqualTo(Integer value) {
            addCriterion("last_user_id =", value, "lastUserId");
            return (Criteria) this;
        }

        public Criteria andLastUserIdNotEqualTo(Integer value) {
            addCriterion("last_user_id <>", value, "lastUserId");
            return (Criteria) this;
        }

        public Criteria andLastUserIdGreaterThan(Integer value) {
            addCriterion("last_user_id >", value, "lastUserId");
            return (Criteria) this;
        }

        public Criteria andLastUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("last_user_id >=", value, "lastUserId");
            return (Criteria) this;
        }

        public Criteria andLastUserIdLessThan(Integer value) {
            addCriterion("last_user_id <", value, "lastUserId");
            return (Criteria) this;
        }

        public Criteria andLastUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("last_user_id <=", value, "lastUserId");
            return (Criteria) this;
        }

        public Criteria andLastUserIdIn(List<Integer> values) {
            addCriterion("last_user_id in", values, "lastUserId");
            return (Criteria) this;
        }

        public Criteria andLastUserIdNotIn(List<Integer> values) {
            addCriterion("last_user_id not in", values, "lastUserId");
            return (Criteria) this;
        }

        public Criteria andLastUserIdBetween(Integer value1, Integer value2) {
            addCriterion("last_user_id between", value1, value2, "lastUserId");
            return (Criteria) this;
        }

        public Criteria andLastUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("last_user_id not between", value1, value2, "lastUserId");
            return (Criteria) this;
        }

        public Criteria andLastUserIsNull() {
            addCriterion("last_user is null");
            return (Criteria) this;
        }

        public Criteria andLastUserIsNotNull() {
            addCriterion("last_user is not null");
            return (Criteria) this;
        }

        public Criteria andLastUserEqualTo(String value) {
            addCriterion("last_user =", value, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserNotEqualTo(String value) {
            addCriterion("last_user <>", value, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserGreaterThan(String value) {
            addCriterion("last_user >", value, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserGreaterThanOrEqualTo(String value) {
            addCriterion("last_user >=", value, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserLessThan(String value) {
            addCriterion("last_user <", value, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserLessThanOrEqualTo(String value) {
            addCriterion("last_user <=", value, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserLike(String value) {
            addCriterion("last_user like", value, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserNotLike(String value) {
            addCriterion("last_user not like", value, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserIn(List<String> values) {
            addCriterion("last_user in", values, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserNotIn(List<String> values) {
            addCriterion("last_user not in", values, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserBetween(String value1, String value2) {
            addCriterion("last_user between", value1, value2, "lastUser");
            return (Criteria) this;
        }

        public Criteria andLastUserNotBetween(String value1, String value2) {
            addCriterion("last_user not between", value1, value2, "lastUser");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}